<?php /* Smarty version 2.6.14, created on 2015-08-28 15:48:46
         compiled from orpack.index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'orpack.index.html', 33, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<form action="<?php echo $this->_tpl_vars['formAction']; ?>
" method="POST" <?php if ($this->_tpl_vars['is_validator']): ?> id="adminform" onsubmit="return Validator.Validate(this)" <?php endif; ?>>
<link rel="stylesheet" type="text/css" href="<?php echo @BASEURI; ?>
public/css/ui.datepicker.css"/>
<script language="javascript" src="<?php echo @BASEURI; ?>
public/js/ui.datetimepicker.js"></script>
<table border="0" class="search" cellspacing="0">
   	<tr>
    	<td class="searchlogo"></td>
        <td>应用名称<input type="text" class="text" style="width:88px" name="s[appName]" value="<?php echo $this->_tpl_vars['search']['appName']; ?>
"/></td>
     	<td>Bundle_ID<input type="text" class="text" style="width:88px" name="s[packName]" value="<?php echo $this->_tpl_vars['search']['packName']; ?>
"/></td>
        <td><input type="button" class="button" name="ng" onclick="submitform('<?php echo @BASEURI; ?>
orpack/index',false)" value="<?php echo $this->_tpl_vars['systemLang']['search']; ?>
" /></td>
    </tr>
</table>
<table width="100%" border="0" class="adminlist" cellspacing="0">
  <thead>
  <tr>
 	<th></th>
    <th>序号</th>
    <th>应用名称</th>
	<th>原包名</th>
    <th>大小</th>
    <th>上传时间</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
 <?php $_from = $this->_tpl_vars['original_pack']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['a'] => $this->_tpl_vars['row']):
?>
  <tr class="row0">
   <td></td>
    <td><?php echo $this->_tpl_vars['row']['id']; ?>
&nbsp;</td>
    <td><?php echo $this->_tpl_vars['row']['appName']; ?>
&nbsp;</td>
	<td><a href="<?php echo @BASEURI; ?>
orpack/down/<?php echo $this->_tpl_vars['row']['id']; ?>
"><?php echo $this->_tpl_vars['row']['packName']; ?>
</a>&nbsp;</td>
    <td><?php echo $this->_tpl_vars['row']['packSize']; ?>
&nbsp;</td>
    <td><?php echo ((is_array($_tmp=$this->_tpl_vars['row']['addTime'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%Y-%m-%d %H:%M:%S") : smarty_modifier_date_format($_tmp, "%Y-%m-%d %H:%M:%S")); ?>
&nbsp;</td>
   	<td>
		<a href="<?php echo @BASEURI; ?>
orpack/delete/<?php echo $this->_tpl_vars['row']['id']; ?>
" <?php echo @IS_DELETE; ?>
><?php echo $this->_tpl_vars['systemLang']['del']; ?>
</a>
    </td>
  </tr>
  <?php endforeach; endif; unset($_from); ?>
  </tbody>

  <tfoot>
  <tr>
    <td colspan="2">
        <input type="button" value="上传原包" class="button" onclick="button_location('<?php echo @BASEURI; ?>
orpack/info/')" accesskey="N">
    </td>
	<td colspan="3"><?php echo $this->_tpl_vars['page']; ?>
</td>
  </tr>
  </tfoot>
</table>
</form>
<script language="javascript">
	$('#cdate_s').datetimepicker({dateFormat:"yy-mm-dd hh:ii:00",timeFormat:""});
	$('#cdate_e').datetimepicker({dateFormat:"yy-mm-dd hh:ii:00",timeFormat:""});
</script>